package com.ruoyi.production.domain.fertilizer;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 化肥类型对象 fertilizer_type
 *
 * @author ruoyi
 * @date 2021-07-12
 */
public class FertilizerType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long fertilizerTypeId;

    /** 肥料类型 */
    @Excel(name = "肥料类型")
    private String fertilizerType;

    public void setFertilizerTypeId(Long fertilizerTypeId)
    {
        this.fertilizerTypeId = fertilizerTypeId;
    }

    public Long getFertilizerTypeId()
    {
        return fertilizerTypeId;
    }
    public void setFertilizerType(String fertilizerType)
    {
        this.fertilizerType = fertilizerType;
    }

    public String getFertilizerType()
    {
        return fertilizerType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fertilizerTypeId", getFertilizerTypeId())
            .append("fertilizerType", getFertilizerType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
